package com.lynn.salary.entity;

public abstract class BaseEntity {
	protected String id;
	protected int isDeleted = 0;// 是否被删除   -1为删除 0为未删除  默认为0
	protected String tag;//标签
	
	public String tableName() {
		System.out.println("BaseEntity::tableName");
		return this.getClass().getSimpleName();
	}
	
	public String pk() {
		return "id";
	}
	
	public String tagName() {
		return "tag";
	}
	
	public static String[] getFields(){
		return null;
	}
	
	public static String getTableName() {

		return null;
	}
	
	public static String getPkName() {

		return null;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}

	
}
